package cn.itsource.desktop.pojo.param;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

//Bean Valid的 分组校验
@Data
@Builder
public class LoginUpdate {
    @NotNull(message = "ID不能为空")
    private Long id;
    @NotEmpty(message = "名字不能为空")
    private String name;
}
